package com.guigu.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.community.pojo.Merchants;
import com.guigu.community.vo.MerchantsVo;

public interface MerchantsService extends IService<Merchants> {
    PageInfo<Merchants> queryMerchants(Integer pageNo, Integer pageSize, MerchantsVo vo);

    PageInfo<Merchants> selectByVo(Integer pageNo, Integer pageSize, MerchantsVo vo);

    // 审核通过
    boolean approveMerchant(Integer merchantId);

    // 审核拒绝
    boolean rejectMerchant(Integer merchantId);

    PageInfo<Merchants> selectByVo2(Integer pageNo, Integer pageSize, MerchantsVo vo);
}
